package com.property.biz.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.property.biz.LrrelationBiz;
import com.property.dao.LrrelationDao;
import com.property.entity.Lrrelation;

@Service("lrrelationBiz")
@Scope("prototype")
public class LrrelationBizImpl implements LrrelationBiz {
	
	@Autowired
	private LrrelationDao lrrelationDao;


	public void delLimit(int limitId) {
		lrrelationDao.delLimit(limitId);
	}

	
	public List<Lrrelation> getLimit(int id) {
		
		return lrrelationDao.getLimit(id);
	}

	public void setLimit(Lrrelation lrrelation) {
		lrrelationDao.setLimit(lrrelation);
	}


	public void delManagementLimit(int cid) {
		lrrelationDao.delManagementLimit(cid);
	}

}
